/*
 * @Descripttion: 
 * @version: 
 * @Author: YouHuJun
 * @Date: 2022-09-21 16:51:13
 * @LastEditors: YouHuJun
 * @LastEditTime: 2022-10-09 17:35:59
 */

import request from '@/utils/request'

//开发调试通过用户id登录
export function loginByUserId(data)
{
  return request({
    url: '/loginByUserId',
    method: 'post',
    data,
	uniCloud:false
  })
}

//手机号发送注册验证码
export function sendPhoneRegisterCode(data)
{
  return request({
    url: '/sendPhoneRegisterCode',
    method: 'post',
    data,
	uniCloud:false
  })
}

//用户注册
export function userRegister(data)
{
  return request({
    url: '/userRegister',
    method: 'post',
    data,
	uniCloud:false
  })
}


//手机号密码登录
export function loginByPhonePassword(data)
{
  return request({
    url: '/loginByPhonePassword',
    method: 'post',
    data,
	uniCloud:false
  })
}


//发送验证码
export function sendVerifyCode(data)
{
  return request({
    url: '/sendVerifyCode',
    method: 'post',
    data,
	uniCloud:false
  })
}

//手机号验证码登录
export function loginByPhoneCode(data)
{
  return request({
    url: '/loginByPhoneCode',
    method: 'post',
    data,
	uniCloud:false
  })
}

//忘记密码发送验证码
export function sendPasswordCode(data)
{
  return request({
    url: '/sendPasswordCode',
    method: 'post',
    data,
	uniCloud:false
  })
}

//忘记密码重置手机密码
export function restPasswordByPhone(data)
{
  return request({
    url: '/restPasswordByPhone',
    method: 'post',
    data,
	uniCloud:false
  })
}